﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;

namespace AgileShare.Framework.SiteProvisioning.Definitions
{
	public class ContentTypeDefinitionCollection : List<ContentTypeDefinition>
	{
		/// <summary>
		/// Gets the content type ids.
		/// </summary>
		/// <value>
		/// The content type ids.
		/// </value>
		public SPContentTypeId[] ContentTypeIds
		{
			get
			{				
				return this.Select(x => x.Id).ToArray();
			}
		}
	}
}
